package cn.pfz.mapper;

import cn.pfz.domain.Department;
import cn.pfz.domain.Permission;
import cn.pfz.domain.Role;
import cn.pfz.query.QueryObject;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    int updateByPrimaryKey(Permission record);

    List<Permission>selectRusult(QueryObject qo);

    List<Permission> selectByEmployee(Long id);

    List<String> getPermissionExperssionByEmployeeId(Long id);
}